package z.t.b.db.compare.report;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：ztb
 * @date ：Created in 2024/3/27 19:01
 * @description：sql方式展示对比结果
 * @modified By：ztb
 * @version: 1.0
 */
public class SqlReporter implements CompareReporter<String>{

    List<String> sqlList = new ArrayList<>();
    @Override
    public List<String> getReports() {
        return sqlList;
    }

    @Override
    public void setReports(List<String> reports) {
        this.sqlList = reports;
    }

    @Override
    public void appendReport(String report) {
        this.sqlList.add(report);
    }
}
